﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    public class PermissionEntity
    {
        string _ModuleCode;
        string _GroupCode;
        string _GroupName;
        bool _View;
        bool _Insert;
        bool _Delete;
        bool _Update;
        bool _AllPermission;


        public string GroupName
        {
            get { return _GroupName; }
            set { _GroupName = value; }
        }

        public bool AllPermission
        {
            get { return _AllPermission; }
            set { _AllPermission = value; }
        }

        public bool Update
        {
            get { return _Update; }
            set { _Update = value; }
        }

        public bool Delete
        {
            get { return _Delete; }
            set { _Delete = value; }
        }

        public bool Insert
        {
            get { return _Insert; }
            set { _Insert = value; }
        }

        public bool View
        {
            get { return _View; }
            set { _View = value; }
        }

        public string GroupCode
        {
            get { return _GroupCode; }
            set { _GroupCode = value; }
        }

        public string ModuleCode
        {
            get { return _ModuleCode; }
            set { _ModuleCode = value; }
        }
    }
}
